/* ********************************
 * @Author: zhengshizeng@126.com
 * @Date: 2025-04-25 13:58:24
 * ********************************/

#ifndef __CMEDIASDKZ_H__Z_
#define __CMEDIASDKZ_H__Z_
#include "zlmediaz.h"

class cmediasdkz : public InterfaceMediaz {
public:
    cmediasdkz();
    ~cmediasdkz();

private:
    void addStreamProxyEx(const string &app, const string &stream, const string &url);

public:
    // 初始化库
    virtual bool InitLib();
    virtual void addStreamProxy(const string &app, const string &stream, const string &url);
    virtual void startSendRtp(
        const string &app, const string &stream, const string &ssrc, const string &dst_url, const string &dst_port, const string &src_port,
        const string &is_udp);
    virtual void stopSendRtp(const string &app, const string &stream);
};

InterfaceMediaz::InterfaceMediaz() {}

InterfaceMediaz &InterfaceMediaz::Instance() {
    static cmediasdkz instance;
    return instance;
}

#endif // __CMEDIASDKZ_H__Z_